const Mock = require("mockjs");
const { createStudent } = require("../services/studentService");
//模拟学生数据 [{name,age,gender},{}]
const studentData = Mock.mock({
  "data|80-100": [
    {
      name: "@cname",
      "age|3-6": 0,
      "gender|0-2": 0,
    },
  ],
});
studentData.data.forEach((s) => {
  createStudent(s);
});
